package com.typ.member.common.excepiton;


/**
 * 参数异常
 * @author heran
 * @version 1.0, 2019-05-09 18:16
 */
public class BadArgumentException extends RuntimeException {
    private Integer code;

    public BadArgumentException(String message, Integer code) {
        super(message);
        this.code = code;
    }

    public BadArgumentException(String message) {
        super(message);
    }

    public Integer getCode() {
        return code;
    }
}
